import Vue from 'vue'
import VueRouter from 'vue-router'
import PersonalHome from './Personal/Home/PersonalHome'
import ReportForm from './Company/ReportForm/ReportForm'
import SystemManagement from './Company/SystemManagement/SystemManagement'
import ReviewTitle from './Personal/ReviewTitle/ReviewTitle'
import PersonalInformation from './Personal/PersonalInformation/PersonalInformation'
import Company from './Company/CompanyHome/Company'
import PersonalRegister from './Personal/Register/PersonalRegister'
Vue.use(VueRouter)

const routes = [
    Company,
    PersonalHome,
    ReportForm,
    SystemManagement,
    ReviewTitle,
    PersonalInformation,
    PersonalRegister,
    { path: '/', redirect: '/home' }
]

const router = new VueRouter({
    routes
})
export default router